<!--标题栏-->
<div id="innerHeader">
    <div class="layui-inline">
        <!--酒店名-->
        <div id="logo">
            <a href="index.html"><img src="./assets/image/sheratonLogo.png" alt="Sheraton"></a>
        </div>
        <!--查询客房与登陆-->
        <div id="button">
            <button data-method="notice" class="layui-btn" id="signIn" *ngIf="user=='0'">
            <a routerLink="/sign-in" routerLinkActive="active" id="sign-in" >
                <i class="layui-icon">&#xe612;</i>
                登录
             </a>
            </button>
            <button data-method="notice" class="layui-btn" id="signUp" *ngIf="user=='0'">
            <a routerLink="/sign-up" routerLinkActive="active" id="sign-up">
                <i class="layui-icon" >&#xe613;</i>
                注册
           </a>
            </button>
            <button class="layui-btn" id="sign-out" (click)='logout()' *ngIf="user!='0'">
            <a>
                <i class="layui-icon" >&#x1006;</i>
                退出
            </a>
            </button>
        </div>
    </div>
    <app-navbar></app-navbar>
</div>

<app-sign-in></app-sign-in>
<app-sign-up></app-sign-up>
<router-outlet></router-outlet>